﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Gui
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false); 
            Gui.Functies.Login L = new Gui.Functies.Login();
            if (L.ShowDialog() == DialogResult.OK)
            {
                Application.Run(new Gui.Functies.Project_keuzemenu.Projectkeuzemenu(Gui.Functies.Login.ids, Gui.Functies.Login.title, Gui.Functies.Login.description, Gui.Functies.Login.projectAmount));
            }
            else
            {
                Application.Exit();
            }

        }
    }
}
